/**
 * Contants.java create at Jul 15, 2011
 * author: weapon
 */
package dbms;

/**
 * @author weapon
 *
 */
public class Constants {
	public static final int BLOCKSIZE = 1024;
	
	public static final int INT_SIZE = Integer.SIZE / Byte.SIZE;
	public static final int DOUBLE_SIZE = Double.SIZE / Byte.SIZE;
	
	public static final int INTEGER = 1;
	public static final int CHAR = 2;
	public static final int VARCHAR = 3;
	public static final int DOUBLE = 4;
	public static final int DECIMAL = 5;	
	
	public static final int FILE_HEADER = 100;   // 100 bytes
	
	public static final String MASTER_TABLE_NAME = "sqlsjk_master";
	
	public static final int BUFFER_POOL_LIMIT = 1024;
	
	public static final int MASTER_BLOCK = 0;
	
	public static final String DBMS_IFN = "|";
	
	public static final int DBMS_PORT = 41588;
}
